home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Performance Co-Pilot 1.3
/
SGI Performance Co-Pilot 1.3.iso
/
dist
/
dist6.4
/
pcp.idb
/
usr
/
share
/
catman
/
u_man
/
cat3
/
PMAPI
/
pmnewcontext.z.z
/
pmnewcontext.z
/
pmnewcontext
Wrap
Text File
|
1997-04-03
|
7KB
|
133 lines
PPPPMMMMNNNNEEEEWWWWCCCCOOOONNNNTTTTEEEEXXXXTTTT((((3333)))) PPPPMMMMNNNNEEEEWWWWCCCCOOOONNNNTTTTEEEEXXXXTTTT((((3333))))
NNNNAAAAMMMMEEEE
ppppmmmmNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt - establish a new PMAPI context
CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ppppccccpppp////ppppmmmmaaaappppiiii....hhhh>>>>
iiiinnnntttt ppppmmmmNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt((((iiiinnnntttt ttttyyyyppppeeee,,,, cccchhhhaaaarrrr ****nnnnaaaammmmeeee))))
cccccccc ............ ----llllppppccccpppp
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
An application using the Performance Metrics Application Programming
Interface (PMAPI) may manipulate several concurrent contexts, each
associated with a source of performance metrics, e.g. ppppmmmmccccdddd(1) on some
host, or an archive log of performance metrics as created by ppppmmmmllllooooggggggggeeeerrrr(1).
ppppmmmmNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt may be used to establish a new context. The source of the
metrics is identified by _n_a_m_e, and may be either a host name (_t_y_p_e _i_s
PPPPMMMM____CCCCOOOONNNNTTTTEEEEXXXXTTTT____HHHHOOOOSSSSTTTT), or the base name for the files of an archive log (_t_y_p_e
is PPPPMMMM____CCCCOOOONNNNTTTTEEEEXXXXTTTT____AAAARRRRCCCCHHHHIIIIVVVVEEEE). The initial instance profile is set up to select
all instances in all instance domains, and the collection time is the
current time of each request for a host, else zero for an archive. In
the case of an archive, the initial collection time will result in the
earliest set of metrics being returned from the archive at the first
ppppmmmmFFFFeeeettttcccchhhh(3).
Once established, the association between a context and source of metrics
is fixed for the life of the context, however routines are provided to
independently manipulate both the instance profile (see ppppmmmmAAAAddddddddPPPPrrrrooooffffiiiilllleeee(3)
and ppppmmmmDDDDeeeellllPPPPrrrrooooffffiiiilllleeee(3)) and the collection time (see ppppmmmmSSSSeeeettttMMMMooooddddeeee(3))
components of a context.
ppppmmmmNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt returns a handle that may be used with subsequent calls to
ppppmmmmUUUUsssseeeeCCCCoooonnnntttteeeexxxxtttt(3).
The new context remains the current PMAPI context for all subsequent
calls across the PMAPI, until another call to ppppmmmmNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt(3) is made, or
the context is explicitly changed with a call to ppppmmmmDDDDuuuuppppCCCCoooonnnntttteeeexxxxtttt(3) or
ppppmmmmUUUUsssseeeeCCCCoooonnnntttteeeexxxxtttt(3), or destroyed using ppppmmmmDDDDeeeessssttttrrrrooooyyyyCCCCoooonnnntttteeeexxxxtttt(3).
When attempting to connect to a remote ppppmmmmccccdddd(1) on a machine that is
booting, ppppmmmmNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt could potentially block for a long time until the
remote machine finishes its initialisation. ppppmmmmNNNNeeeewwwwCCCCoooonnnntttteeeexxxxtttt will abort and
return an error if the connection has not been established after some
specified interval has elapsed. The default interval is 5 seconds. This
may be modified by setting PPPPMMMMCCCCDDDD____CCCCOOOONNNNNNNNEEEECCCCTTTT____TTTTIIIIMMMMEEEEOOOOUUUUTTTT in the environment to a
real number of seconds for the desired timeout. This is most useful in
cases where the remote host is at the end of a slow network, requiring
longer latencies to establish the connection correctly.
PPPPaaaaggggeeee 1111
PPPPMMMMNNNNEEEEWWWWCCCCOOOONNNNTTTTEEEEXXXXTTTT((((3333)))) PPPPMMMMNNNNEEEEWWWWCCCCOOOONNNNTTTTEEEEXXXXTTTT((((3333))))
EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
PPPPMMMMCCCCDDDD____CCCCOOOONNNNNNNNEEEECCCCTTTT____TTTTIIIIMMMMEEEEOOOOUUUUTTTT
Timeout period (in seconds) for ppppmmmmccccdddd(1) connection attempts.
PPPPMMMMCCCCDDDD____PPPPOOOORRRRTTTT
TCP/IP port for connecting to ppppmmmmccccdddd(1), defaults to 4321.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ppppmmmmAAAAddddddddPPPPrrrrooooffffiiiilllleeee(3), PPPPMMMMAAAAPPPPIIII(3), ppppmmmmDDDDeeeellllPPPPrrrrooooffffiiiilllleeee(3), ppppmmmmDDDDeeeessssttttrrrrooooyyyyCCCCoooonnnntttteeeexxxxtttt(3),
ppppmmmmDDDDuuuuppppCCCCoooonnnntttteeeexxxxtttt(3), ppppmmmmRRRReeeeccccoooonnnnnnnneeeeccccttttCCCCoooonnnntttteeeexxxxtttt(3), ppppmmmmSSSSeeeettttMMMMooooddddeeee(3), ppppmmmmUUUUsssseeeeCCCCoooonnnntttteeeexxxxtttt(3) and
ppppmmmmWWWWhhhhiiiicccchhhhCCCCoooonnnntttteeeexxxxtttt(3).
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
PPPPMMMM____EEEERRRRRRRR____PPPPEEEERRRRMMMMIIIISSSSSSSSIIIIOOOONNNN
No permission to perform requested operation
PPPPMMMM____EEEERRRRRRRR____CCCCOOOONNNNNNNNLLLLIIIIMMMMIIIITTTT
PMCD connection limit for this host exceeded
PPPPaaaaggggeeee 2222